import { FC, ReactNode } from 'react';

interface IProps {
  children: ReactNode;
}

const Html: FC<IProps> = ({ children }) => {
  return (
    <html>
      <head>
        <meta charSet="UTF-8" />
        <meta httpEquiv="X-UA-Compatible" content="IE=edge" />
        <title>盛易信达</title>
        {/* 如果你分离了多个chunks,在这里只需要引入主入口文件即可,其他的chunk文件会自动引入 */}
        <link rel="shortcut icon" type="image/png" href="/assets/favicon-3e3e9205.png"/>
    <title>盛易信达</title>
        <script type="module" crossOrigin="anonymous" src="/index.js"></script>
    <link rel="modulepreload" crossOrigin="anonymous" href="/js/qs/qs.js"/>
    <link rel="modulepreload" crossOrigin="anonymous" href="/js/r/r.js"/>
    <link rel="stylesheet" href="/static/css/style.css"></link>
      </head>
      <body>
        <div id="root">{children}</div>
        <script src="https://unpkg.com/scrollreveal@4.0.9/dist/scrollreveal.js"></script>

      </body>
    </html>
  );
};

export default Html;
